// MainPage.scss
.mainContainer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f0f4f8; // 浅灰色背景
  font-family: 'Roboto', sans-serif; // 使用Roboto字体
}

.header {
  background-color: #3182ce; // 深蓝色背景
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

.hero {
  display: flex;
  align-items: center;
  background-color: rgba(49, 130, 206, 0.8); // 半透明深蓝色背景
  color: #fff;
  padding: 40px;
  background-image: url('~@/assets/MainPage/background.png'); // 背景图片
  background-size: cover;
  background-blend-mode: multiply;
}

.heroImage {
  width: 100%;
  max-width: 500px;
  margin-right: 20px;
  border-radius: 8px; // 图片圆角
}

.heroContent {
  max-width: 600px;
}

.exploreButton {
  background-color: #3182ce;
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);

  &:hover {
    background-color: #2a69ac;
    transform: translateY(-2px);
  }
}

.link {
  color: #fff;
  text-decoration: none;
}

.mainContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.feature {
  width: calc(33% - 20px);
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); // 添加阴影效果
  transition: transform 0.3s ease;

  &:hover {
    transform: translateY(-5px);
  }
}

.successStories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.story {
  width: calc(50% - 20px);
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); // 添加阴影效果
  transition: transform 0.3s ease;

  &:hover {
    transform: translateY(-5px);
  }
}

.storyImage {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.footer {
  background-color: #3182ce;
  color: #fff;
  text-align: center;
  padding: 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}
